/**
 * 系统状态: 参考 https://github.com/vuejs/vuex/blob/master/examples/shopping-cart/vuex/store.js
 * Created by yuzhou on 16/9/13.
 */

define([
    'vue', 'vue-vuex',
    'vuex/modules/user',
    'vuex/modules/good'
], function(Vue, Vuex, User, Good){

    Vue.use(Vuex)

    return new Vuex.Store({
        modules: {
            user: User,
            good: Good
        },
        strict: true
    })
})
